﻿using MediatR;
using Provenance.Domain.Product;
using Provenance.ErrorCount;

namespace Provenance.Write.Api.Application.Command.Product
{
    public class InsertPictureInfoCommand:IRequest<ApiResult>
    {
        public int ProductInfoId { get; set; }
        /// <summary>
        /// 追溯类型
        /// </summary>
        public TraceTypeEnum TraceType { get; set; }
        /// <summary>
        /// 图片类型
        /// </summary>
        public ImageTypeEnum ImageType { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string ImageUrl { get; set; } = string.Empty;
    }
}
